package com.hb0730.boot.admin.modules.sys.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hb0730.boot.admin.modules.sys.system.model.entity.SysDepartment;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysDepartmentMapper extends BaseMapper<SysDepartment> {

    @Select("SELECT * FROM sys_department")
    List<SysDepartment> findAll();
}
